PHY SET VEHICLE RESTITUTION

Set the vehicles restitution property.

  Syntax
PHY SET VEHICLE RESTITUTION ID,value#
  Parameters
ID
Integer
identification number of the vehicle
value#
Float
level of restitution

  Returns

  Description

The restitution property of a vehicle defines how bouncy it is. A value of 0.0 will make the vehicle bounce as little as possibe, higher values up to 1.0 result in more bounce. The default for this property is 0.0 and it can go in the range from 0.0 to 1.0.

  Example Code
No example code is provided for this command